package yt.demo.appcoresystem.service;

import yt.demo.appcommondb.base.IBaseService;
import yt.demo.appcoresystem.entity.SystemUser;
import yt.demo.appcoresystem.entity.SystemUserDept;

import java.util.List;

public interface ISystemUserDeptService extends IBaseService<SystemUserDept> {

    void syncDept(Long userId, List<Long> deptIds);

    void belongsToDept(List<Long> userIds, List<SystemUser> list);

    List<Long> deptToUserIds(List<Long> deptIds);

}
